package web.suzy.oj.pojo.dto;

import lombok.Data;
import lombok.experimental.Accessors;
import web.suzy.oj.pojo.entity.problem.*;

import java.util.List;

/**
 * YangSuzy 软件工作室
 * 类名: ProblemDTO
 * 描述: 题目信息数据传输对象
 * 功能: DTO(Data Transfer Object)通常用于展示层(Controller)和服务层(Service)之间的数据传输
 *
 * @author YangSuzy
 * Date: 2022/11/21 16:44
 */
@Data
@Accessors(chain = true)
public class ProblemDTO {
    private Problem problem;

    private List<ProblemCase> samples;

    private Boolean isUploadTestCase;

    private String uploadTestcaseDir;

    private String judgeMode;

    private Boolean changeModeCode;

    private Boolean changeJudgeCaseMode;

    private List<Language> languages;

    private List<Tag> tags;

    private List<CodeTemplate> codeTemplates;
}
